<?php
namespace app\web\api;
use app\src\user\enum\RegFromEnum;
use app\src\user\enum\RoleEnum;
use app\web\helper\WebApiHelper;

/**
 * Created by PhpStorm.
 * User: Gooraye
 * Date: 2017-06-03
 * Time: 13:53
 */
class AlipayApi
{


    public static function prePay($seller_id,$uid,$amount,$note,$no_discount)
    {
        $data = [
            'api_ver' => '100',
            'amount' => $amount,
            'no_discount' => $no_discount,
            'seller_id' => $seller_id,
            'uid' => $uid,
            'note' =>$note
        ];
        return WebApiHelper::callRemote('By_Alipay_prePay', $data);
    }

}